package com.qf.service;
import com.qf.pojo.Order;
import com.qf.pojo.User;
import com.qf.vo.BaseResult;

import javax.servlet.http.HttpSession;
import java.util.List;


public interface OrderService {

    BaseResult addOrder(Order order);

    //查找当前用户订单
    BaseResult findMyOrder(HttpSession session);

    //查找当前用户订单并以OrderView形式回显
    BaseResult viewMyOrder(HttpSession session);

    //删除订单
    BaseResult delMyOrder(int oid);

    //查询order原表
    BaseResult findAll();
}
